
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<link rel=stylesheet href='include/hoj.css' type='text/css'>
</head>
<body>
<center>
<div style="width:90%; text-align:left">
<img src="image/logo.png"/>
</div>
<table width=96%> 
	<tr align="center" class='hd' valign="top">
				<th><a href="faqs.php">F.A.Qs</a></th>
		<th><a href="./bbs.php">Web Board</a></th>
		<th><a href="./">Home</a></th>
		<th><a href="./problemset.html">ProblemSet</a></th>
		<th><a href="./status.php">Status</a></th>
		<th><a href="./ranklist.php">Ranklist</a></th>
		<th><a href="./contest.php">Contest</a></th>
		<th><a href=loginpage.php>Login</a></th><th><a href=registerpage.php>Register</a></th>	</tr>
</table>
</center>
<center>
<div class="notice">
	<div>
		<B>Notice:</B>鉴于种种原因，本OJ自下周星期一（3月5号）开始不再全面开放，请各位做好善后事宜，谢谢合作。	</div>
</div>
</center>
</div>
<title>Problem 1541. -- [POI2005]Lus- Mirror trap
</title><center><h2>1541: [POI2005]Lus- Mirror trap
</h2><span class=green>Time Limit: </span>5 Sec&nbsp;&nbsp;<span class=green>Memory Limit: </span>64 MB<br><span class=green>Submit: </span>70&nbsp;&nbsp;<span class=green>Solved: </span>66<br>[<a href='submitpage.php?id=1541'>Submit</a>][<a href='problemstatus.php?id=1541'>Status</a>][<a href='bbs.php?id=1541'>Discuss</a>]</center><h2>Description</h2><div class=content>镜子迷宫是一个用镜子做成的立方体. 在立方体的几何中心有一个激光发射器(它发射的激光大小可以忽略). 你的任务是发射一条激光射线使得这条射线走过尽量长的路程后回到发射点. 路程我们使用曼哈顿距离衡量. 
迷宫的长度都是偶数. 迷宫上的顶点和棱都不反射激光. 在立方体内部我们使用笛卡儿坐标系来描述顶点,激光发射器位于原点即(0, 0, 0). 
</div><h2>Input</h2><div class=content>一个测试文件中有很多镜子迷宫需要计算. 第一行一个整数1 <= K <= 1000, 表示迷宫总数. 第 2 ... K + 1 行每行三个数5 <= x, y, z <= 1000, 表示迷宫的长宽高的1/2,该迷宫的形状是一个2x2y2z的立方体. 
</div><h2>Output</h2><div class=content>你的程序应该输出K 行. 第 i行包含第i个迷宫的解答: 三个整数kx, ky, kz, , - x <= kx <= x, - y <= ky <= y, - z <= kz <= z, (kx, ky, kz) <> (0, 0, 0). 表示对于第i个迷宫其激光发射器该朝点(kx, ky, kz)发射激光.如果有多解输出任意一组. 
</div><h2>Sample Input</h2>
			<div class=content><span class=sampledata></span></div><h2>Sample Output</h2>
			<div class=content><span class=sampledata></span></div><h2>HINT</h2>
			<div class=content><p></p></div><h2>Source</h2>
			<div class=content><p><a href='problemset.html?search='></a></p></div><center>[<a href='submitpage.php?id=1541'>Submit</a>][<a href='problemstatus.php?id=1541'>Status</a>][<a href='bbs.php?id=1541'>Discuss</a>]</center>﻿<br>

<a href="./"><span class=red>HOME</span></a>
<a href="javascript:history.go(-1)"><span class=red>Back</span></a>

<hr>
<center>
	<div class="footer">
			<a href=setlang.php?lang=ko>한국어</a>&nbsp;
		<a href=setlang.php?lang=cn>中文</a>&nbsp;
		<a href=setlang.php?lang=fa>فارسی</a>&nbsp;
		<a href=setlang.php?lang=en>English</a>&nbsp;
		<a href=setlang.php?lang=th>ไทย</a>
	<br>		<div>版权所有 &copy;2008-2012 WaterPark Organization. | <script src="http://s21.cnzz.com/stat.php?id=2982771&web_id=2982771" language="JavaScript"></script>
</div>
		<div>Based on opensource project <a href="http://hustoj.googlecode.com">hustoj</a>.</div>
	</div>
</center>
</body>
</html>
